The input file should be utf8 or preferably plain ascii.
Most database utilities can still dump a line per record plain ascii.